package com.bestcem.xm.wallet.dao;

import com.bestcem.xm.wallet.entity.pojo.LimitOrderDO;

import java.util.List;

/**
 * 限制充值订单dao
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/5/13 10:34
 */
public interface LimitOrderDao {
    /**
     * 创建限制充值订单
     *
     * @param limitOrderDO 限制充值订单
     * @return String
     * @author wangyunyun <yunyun.wang@idiaoyan.com>
     * @date 2022/5/13 14:49
     */
    String insert(LimitOrderDO limitOrderDO);

    /**
     * 根据条件更新限制充值订单
     *
     * @param param 更新参数
     * @param condition 更新条件
     * @return Integer
     * @author wangyunyun <yunyun.wang@idiaoyan.com>
     * @date 2022/5/13 14:59
     */
    Integer updateByCondition(LimitOrderDO param, LimitOrderDO condition);

    /**
     * 根据条件查询限制充值订单
     *
     * @param limitOrderDO 限制充值订单
     * @return List<LimitOrderDO>
     * @author wangyunyun <yunyun.wang@idiaoyan.com>
     * @date 2022/5/13 14:10
     */
    List<LimitOrderDO> selectBySelective(LimitOrderDO limitOrderDO);
}
